package xcmg.device.dao.mapper.account;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import xcmg.device.dao.entity.account.ArapDetailDO;
import xcmg.device.service.vo.account.ArapDetailVO;

import java.util.List;

@Mapper
public interface ArapDetailMapper {

    int deleteByPrimaryKey(String id);

    int insert(ArapDetailDO record);

    ArapDetailDO selectByPrimaryKey(String id);

    ArapDetailDO selectByBillNo(@Param("supplierOrgId")String supplierOrgId, @Param("billNo")String billNo);

    int update(ArapDetailDO record);

    List<ArapDetailDO> list(ArapDetailVO condition);

    int updateDel(@Param("supplierOrgId")String supplierOrgId, @Param("outNos")List<String> outNos);

   int updateDelById(@Param("id")String id);
}